import java.awt.Color;
import java.util.ArrayList;

import info.gridworld.actor.Actor;
import info.gridworld.actor.Critter;
import info.gridworld.actor.Rock;
import info.gridworld.grid.Grid;
import info.gridworld.grid.Location;

public class RockHound extends Critter {
    public void processActors(ArrayList<Actor> actors) {
        for (int i = 0; i < actors.size(); i++) {
            Actor tmp = actors.get(i);
            if (tmp instanceof Rock)
                tmp.removeSelfFromGrid();
        }
    }
}
